Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock down _uid field #9836

Merged
merged 1 commit into from
Feb 23, 2015
Merged

Lock down _uid field #9836

merged 1 commit into from
Feb 23, 2015

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Feb 23, 2015

Also, cleanup writePre20Settings so it is shared across all field mappers.

see #8143

@@ -302,7 +302,7 @@ protected String buildFullName(BuilderContext context) {
protected FieldDataType fieldDataType;
protected final MultiFields multiFields;
protected CopyTo copyTo;
protected final boolean writePre20Metadata;
protected final boolean writePre20Settings;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to name this something else? I see writePre20Settings and I think pre-0.20.0 version

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I renamed to writePre2xSettings. Hopefully 2x is more readable.

@rjernst rjernst added v2.0.0-beta1 :Search Foundations/Mapping Index mappings, including merging and defining field types labels Feb 23, 2015
@dakrone
Copy link
Member

dakrone commented Feb 23, 2015

LGTM, left one trivial subjective comment

Also, cleanup writePre20Settings so it is shared across all field
mappers.

see elastic#8143
@rjernst rjernst merged commit 822ffe9 into elastic:master Feb 23, 2015
@rjernst rjernst deleted the fix/8143-uid branch March 24, 2015 02:56
@clintongormley clintongormley changed the title Mappings: Lock down _uid field Lock down _uid field Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :Search Foundations/Mapping Index mappings, including merging and defining field types v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants